/****************************************************************************
** Meta object code from reading C++ file 'syncmanager.h'
**
** Created: Sun May 29 18:38:10 2011
**      by: The Qt Meta Object Compiler version 59 (Qt 4.3.4)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "../syncmanager.h"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'syncmanager.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 59
#error "This file was generated using the moc from 4.3.4. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

static const uint qt_meta_data_SyncManager[] = {

 // content:
       1,       // revision
       0,       // classname
       0,    0, // classinfo
      37,   10, // methods
       0,    0, // properties
       0,    0, // enums/sets

 // signals: signature, parameters, type, tag, flags
      20,   13,   12,   12, 0x05,
      44,   38,   12,   12, 0x05,
     100,   81,   12,   12, 0x05,
     158,  145,   12,   12, 0x05,
     183,  145,   12,   12, 0x05,
     206,   12,   12,   12, 0x05,

 // slots: signature, parameters, type, tag, flags
     230,   12,   12,   12, 0x0a,
     271,  257,  253,   12, 0x0a,
     295,   12,  253,   12, 0x0a,
     310,   12,  302,   12, 0x0a,
     324,   12,  302,   12, 0x0a,
     340,  257,   12,   12, 0x0a,
     362,   38,   12,   12, 0x0a,
     401,   81,   12,   12, 0x0a,
     448,  145,   12,   12, 0x0a,
     475,  145,   12,   12, 0x0a,
     500,   12,   12,   12, 0x0a,
     526,   12,   12,   12, 0x08,
     546,   12,   12,   12, 0x08,
     566,   12,   12,   12, 0x08,
     594,  586,   12,   12, 0x08,
     620,  612,   12,   12, 0x08,
     647,  612,   12,   12, 0x08,
     672,  612,   12,   12, 0x08,
     699,  693,   12,   12, 0x08,
     751,  742,   12,   12, 0x08,
     769,   12,   12,   12, 0x08,
     792,  257,  787,   12, 0x08,
     832,  825,   12,   12, 0x08,
     868,  855,   12,   12, 0x08,
     896,   12,  253,   12, 0x08,
     914,   12,   12,   12, 0x08,
     926,   12,   12,   12, 0x08,
     940,   12,   12,   12, 0x08,
     960,  612,   12,   12, 0x08,
     979,   12,   12,   12, 0x08,
     998,   12,   12,   12, 0x08,

       0        // eod
};

static const char qt_meta_stringdata_SyncManager[] = {
    "SyncManager\0\0status\0statusSignal(int)\0"
    "entry\0addContactSignal(NeoPhoneBookEntry*)\0"
    "contactIndex,entry\0"
    "replaceContactSignal(int,NeoPhoneBookEntry*)\0"
    "contactIndex\0deleteContactSignal(int)\0"
    "callContactSignal(int)\0stopCallContactSignal()\0"
    "disconnectionServlet()\0int\0ipStr,portStr\0"
    "listen(QString,QString)\0stop()\0QString\0"
    "getClientIp()\0getClientPort()\0"
    "sync(QString,QString)\0"
    "addContactListener(NeoPhoneBookEntry*)\0"
    "replaceContactListener(int,NeoPhoneBookEntry*)\0"
    "deleteContactListener(int)\0"
    "callContactListener(int)\0"
    "stopCallContactListener()\0connectionServlet()\0"
    "dispatcherServlet()\0fileUploadServlet()\0"
    "servlet\0setupServlet(int)\0message\0"
    "messageDispatcher(QString)\0"
    "setupFileUpload(QString)\0sendMessage(QString)\0"
    "error\0errorHandler(QAbstractSocket::SocketError)\0"
    "filename\0sendFile(QString)\0closeConnection()\0"
    "bool\0validateAddress(QString,QString)\0"
    "action\0processAction(QString)\0"
    "type,payload\0sendAction(QString,QString)\0"
    "parseInt(QString)\0emptyHome()\0"
    "processSync()\0processServerSync()\0"
    "logAction(QString)\0processServerLog()\0"
    "clearLog()\0"
};

const QMetaObject SyncManager::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_SyncManager,
      qt_meta_data_SyncManager, 0 }
};

const QMetaObject *SyncManager::metaObject() const
{
    return &staticMetaObject;
}

void *SyncManager::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_SyncManager))
	return static_cast<void*>(const_cast< SyncManager*>(this));
    return QWidget::qt_metacast(_clname);
}

int SyncManager::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QWidget::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: statusSignal((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 1: addContactSignal((*reinterpret_cast< NeoPhoneBookEntry*(*)>(_a[1]))); break;
        case 2: replaceContactSignal((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< NeoPhoneBookEntry*(*)>(_a[2]))); break;
        case 3: deleteContactSignal((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 4: callContactSignal((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 5: stopCallContactSignal(); break;
        case 6: disconnectionServlet(); break;
        case 7: { int _r = listen((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = _r; }  break;
        case 8: { int _r = stop();
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = _r; }  break;
        case 9: { QString _r = getClientIp();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 10: { QString _r = getClientPort();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 11: sync((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break;
        case 12: addContactListener((*reinterpret_cast< NeoPhoneBookEntry*(*)>(_a[1]))); break;
        case 13: replaceContactListener((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< NeoPhoneBookEntry*(*)>(_a[2]))); break;
        case 14: deleteContactListener((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 15: callContactListener((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 16: stopCallContactListener(); break;
        case 17: connectionServlet(); break;
        case 18: dispatcherServlet(); break;
        case 19: fileUploadServlet(); break;
        case 20: setupServlet((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 21: messageDispatcher((*reinterpret_cast< QString(*)>(_a[1]))); break;
        case 22: setupFileUpload((*reinterpret_cast< QString(*)>(_a[1]))); break;
        case 23: sendMessage((*reinterpret_cast< QString(*)>(_a[1]))); break;
        case 24: errorHandler((*reinterpret_cast< QAbstractSocket::SocketError(*)>(_a[1]))); break;
        case 25: sendFile((*reinterpret_cast< QString(*)>(_a[1]))); break;
        case 26: closeConnection(); break;
        case 27: { bool _r = validateAddress((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 28: processAction((*reinterpret_cast< QString(*)>(_a[1]))); break;
        case 29: sendAction((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break;
        case 30: { int _r = parseInt((*reinterpret_cast< QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = _r; }  break;
        case 31: emptyHome(); break;
        case 32: processSync(); break;
        case 33: processServerSync(); break;
        case 34: logAction((*reinterpret_cast< QString(*)>(_a[1]))); break;
        case 35: processServerLog(); break;
        case 36: clearLog(); break;
        }
        _id -= 37;
    }
    return _id;
}

// SIGNAL 0
void SyncManager::statusSignal(int _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void SyncManager::addContactSignal(NeoPhoneBookEntry * _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void SyncManager::replaceContactSignal(int _t1, NeoPhoneBookEntry * _t2)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void SyncManager::deleteContactSignal(int _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void SyncManager::callContactSignal(int _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void SyncManager::stopCallContactSignal()
{
    QMetaObject::activate(this, &staticMetaObject, 5, 0);
}
